<%
//会员中心
layout("/inc/layout.html",{
title:'会员中心',
keywords:'会员中心',
description:'会员中心',
style:'user.css'
}){
%>
<div class="container">
    <!--用户面板-->
    <% include("/inc/user_panel.html"){} %>
    <!--快捷键-->
    <div class="row mt15 text-center">
        <% include("/inc/user_menu.html"){} %>
        <div class="col-sm-10">
            <div class="panel panel-default">
                <div class="panel-body">

                        <h4 class="text-danger text-center" id="messageCode"></h4>
                        <form class="form-horizontal col-sm-offset-2 col-sm-8" method="post" id="resetPasswordForm">
                            <div class="form-group">
                                <label for="phone" class="col-sm-2 control-label">手机号码</label>
                                <div class="col-sm-10">
                                    <div class="form-control text-left" readonly="readonly">${user.phone!}</div>
                                </div>
                            </div>

                            <div class="form-group">
                                <label for="code" class="col-sm-2 control-label">验证码</label>
                                <div class="row col-sm-10">
                        <span class="col-xs-7">
                              <input type="number" class="form-control" id="code" name="code" placeholder="输入手机验证码">
                        </span>
                                    <span class="col-xs-5 pull-right">
                            <button class="btn btn-success btn-block" id="getCode" type="button">获取验证码</button>
                        </span>
                                </div>
                            </div>

                            <div class="form-group">
                                <label for="userName" class="col-sm-2 control-label">姓名</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="userName" name="userName" placeholder="姓名" value="${user.userName}" required="required">
                                </div>
                            </div>
                            <!--<div class="form-group">-->
                                <!--<label for="imagesUploader" class="col-sm-2 control-label">头像</label>-->
                                <!--<div class="col-sm-10">-->
                                    <!--<input type="file" class="form-control" name="avatar" data-msg-placeholder="请选择头像。" id="imagesUploader" required="required">-->
                                <!--</div>-->
                            <!--</div>-->

                            <hr/>
                            <div class="form-group">
                                <div class="col-sm-offset-2 col-sm-8">
                                    <button type="button" id="doSubmit" class="btn btn-success btn-lg btn-block">&nbsp;提交&nbsp;</button>
                                </div>
                            </div>
                        </form>


                </div>
            </div>
        </div>
    </div>
</div>
<% } %>
<script>
    require(['modules/user_basic'], function (basic) {
        basic.settings();
    });
</script>
</body>
</html>